<#include "common/common.ftl">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<base href="${basePath}">
		<title>JWAS--登录</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="cep/css/standard_login.css">
		<script type="text/javascript" src="cep/js/validation/validation.js"></script>
  		<script type="text/javascript" src="cep/js/validation/form_auto_validation.js"></script>
		<LINK href="resource/css/default.css" type=text/css rel=styleSheet>
	</head>
<SCRIPT language="javascript" type="">
function login(){
 if(checkForm(window.dataform)){
		window.dataform.submit();
	}
}
function fkeyEvent(){
  if(event.keyCode==13){
    login();
  }
}
function ok(){
	document.dataform.but_login.focus();
}
</SCRIPT>
	<body onLoad="javascript:dataform.username.focus()" oncontextmenu="return false" ondragstart="return false" onselectstart ="return false">
		<DIV id=hd>
			<DIV id=bd>
				<DIV class=ylogon>
					<DIV class=ylogonpanel>
						<FORM id=dataform name=login_form action="login.was" autocomplete="off" method="post" onkeydown = "fkeyEvent();">
							<br>
							<br>
							<span style=""><a style="text-decoration: none;color:gray; font-size: 14px;font-weight: bold" href="#">登录JWAS</a></span>
							<#if err_msg?exists>
								<br><span style="color: red;" class="text">${err_msg}</span>
							</#if>
							<table class="text">
								<tr>
									<TD>用户:</TD><TD><INPUT type="text" name="username" limit="type:signName" msg="请输入合法的用户名"></TD>
								</tr>
								<tr>
									<TD>密码:</TD><TD style="font-size: 6px"><INPUT type="password" name="password" limit="len:-12;required:true" msg="请输入合法的密码。"></TD>
								</tr>
								<tr>
									<TD colspan="2" align="center"><BUTTON type="button" class="text" onclick="login()">&nbsp;登&nbsp;录&nbsp;</BUTTON></TD>
								</tr>
								<tr><TD colspan="2">
								<span style="padding-left: 10px"><A href="user/gp_step1.jsp" style="text-decoration: none">忘记密码 </A></span>
								<span style="padding-left: 50px"><A href="tocb/main2.jsp?tarUrl=user/register.jsp" style="text-decoration: none">注册帐号</A></span>
								</TD></tr>
							</table>
							<DIV class=yregbm>
							</DIV>
						</FORM>
					</DIV>
					<DIV class=crtl></DIV>
					<DIV class=crtr></DIV>
					<DIV class=crbl></DIV>
					<DIV class=crbr></DIV>
				</DIV>
				<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
	</body>
</html>
